package com.okyai.kt.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.okyai.common.annotation.Excel;
import com.okyai.common.core.domain.BaseEntity;

/**
 * 档案方案附件对象 kt_record_annex
 * 
 * @author okyai
 * @date 2021-03-20
 */
public class RecordAnnex extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 附件ID */
    private Long annexId;

    /** 附件类型 */
    @Excel(name = "附件类型")
    private String annexType;

    /** 附件URL */
    @Excel(name = "附件URL")
    private String annexUrl;

    /** 附件名称 */
    @Excel(name = "附件名称")
    private String annexName;

    public void setAnnexId(Long annexId) 
    {
        this.annexId = annexId;
    }

    public Long getAnnexId() 
    {
        return annexId;
    }
    public void setAnnexType(String annexType) 
    {
        this.annexType = annexType;
    }

    public String getAnnexType() 
    {
        return annexType;
    }
    public void setAnnexUrl(String annexUrl) 
    {
        this.annexUrl = annexUrl;
    }

    public String getAnnexUrl() 
    {
        return annexUrl;
    }
    public void setAnnexName(String annexName) 
    {
        this.annexName = annexName;
    }

    public String getAnnexName() 
    {
        return annexName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("annexId", getAnnexId())
            .append("annexType", getAnnexType())
            .append("annexUrl", getAnnexUrl())
            .append("annexName", getAnnexName())
            .toString();
    }
}
